<include file='Index/header'/>
  <script language="javascript" type="text/javascript" src="__PUBLIC__/My97DatePicker/WdatePicker.js"></script>  
<include file='Index/left'/>

    <div class="content">
        
        <div class="header">
            
            <h1 class="page-title">用户管理</h1>
        </div>
        
                <ul class="breadcrumb">
            <li><a href="{:U('Index/Index')}">首页</a> <span class="divider">/</span></li>
            <li class="active">用户管理</li>
        </ul>

        <div class="container-fluid">
            <div class="row-fluid">  
                    
<div class="btn-toolbar">
    <button class="btn btn-primary" onclick="window.location='__CONTROLLER__/Adduser'" ><i class="icon-plus"></i>添加用户</button>

  <div class="btn-group">
  </div>
</div>
            
<div class="well" id='well2'>
    <table class="table table-striped">
      <thead>
        <tr>
          <th>#</th>
          <th>用户登录名</th>
         
          <th>部门</th>
          <th>权限</th>
          <th style="width: 30px;"></th>
        </tr>
      </thead>
      <tbody>
          <volist name="us" id="vo">
        <tr>
           <td>{$vo.empid}</td>
          <td>{$vo.loginname}</td>
         

          <td>{$vo.depart}</td>
          <td><if condition="$vo['userlevel'] eq '1'">系统管理员<elseif condition="$vo['level'] eq '2'"/>操作员<elseif condition="$us['userlevel'] eq '4'" />领导<elseif condition="$us['userlevel'] eq '5'" />操作员1<elseif condition="$us['userlevel'] eq '6'" />员工</if></td>
          <td>
              <a href="__CONTROLLER__/Userxg/id/{$vo.id}"><i class="icon-pencil"></i></a>
             <a onclick="return confirm('正在删除用户{$vo.loginname}，请确认')"href="__CONTROLLER__/del/id/{$vo.id}"><i class="icon-remove"></i></a>

          </td>
        </tr>

          </volist>

      </tbody>
    </table>
</div>
            
<div class="pagination">
    <ul>
    {$page}
 
    </ul>
</div>
           
                 

                    
<include file='Index/footer'/>
